<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>数据采集</title>
    <link rel="stylesheet" href="../assets/css/style.css">
    <link rel="stylesheet" href="../assets/css/stylenum.css">
    <link rel="stylesheet" href="../assets/css/jquery.treeview.css"/>
    <link rel="stylesheet" href="../assets/css/BeatPicker.min.css"/>
    <script type="text/javascript" src="../assets/js/jquery.min.js"></script>
    <script src="../assets/js/jquery.treeview.js" type="text/javascript"></script>
    <script src="../assets/js/BeatPicker.min.js"></script>
    <script src="../assets/js/common.js"></script>
</head>
<body>
<!--黑幕-->
<div id="darkdiv">

</div>

<div class="jg-title">
    <img src="../assets/img/titlebg.jpg"><span style="font-weight: 100;">准强制规则列表</span>
</div>
<div class="jg-main">
    <table cellspacing="0" cellpadding="0" class="jg-table">
        <tr>
            <td width="130" class="jg-table-tdname">表号</td>
            <td width="295">
               <span class="ml10">201-1</span>
            </td>
            <td width="130" class="jg-table-tdname">报告期</td>
            <td width="295"><input class="jg-input3" type="text" value="201312MM"></td>
            <td width="130" class="jg-table-tdname">规则ID</td>
            <td width="295"><input class="jg-input3" type="text" value="201312MM"></td>
        </tr>
        <tr>
            <td class="jg-table-tdname">单位代码</td>
            <td width="295"><input class="jg-input3" type="text" value=""></td>
            <td width="130" class="jg-table-tdname">单位名称</td>
            <td width="295"><input class="jg-input3" type="text" value=""></td>
            <td width="130" class="jg-table-tdname">解锁机构</td>
            <td width="295"><input class="jg-input3" type="text" value=""></td>
        </tr>
        <tr>
            <td class="jg-table-bottom" colspan="6">
                <button type="button" class="tj-btn-add" style="width: 67px;height: 27px;"></button>
                <button type="button" class="jg-btn-back"></button>
                <button type="button" class="jg-btn-search" onclick="searchResult();"></button>
                <button type="button" class="jg-btn-clear"></button>
                <button type="button" class="jg-btn-czcx" onclick="openAllDesk('jg-szczdw');"></button>
            </td>
        </tr>
    </table>
</div>
<!--查询结果-->
<div class="jg-search">
    <div class="jg-zlsh" id="jg-sorry" style="display: none;">
        <img src="../assets/img/gth.jpg" style="vertical-align: top;"><span
            style="color: red;font-size: 18px;">对不起，没有查询到您需要的数据！</span>
    </div>
    <div id="jg-result" style="display: none;">
        <div class="tj-right-tab fl" style="width: 90px;">
            查询结果
        </div>
        <div class="fl ml20">
            <input type="checkbox" name="jg4-type"><span>全选</span><button type="button" class="tj-rls-qxjs">取消解锁</button>
            <span style="color:red;margin-left: 10px;">（追加后续解锁报告期）</span>
        </div>
        <div class="clearfix"></div>
        <div class="num_table" style="width: 100%;margin: 0;">
            <table cellpadding="0" cellspacing="0" style="width: 100%;">
                <tr class="num_table_firsttr">
                    <td width="45">选择</td>
                    <td width="80">单位代码
                    </td>
                    <td width="225">单位名称
                    </td>
                    <td width="225">解锁人
                    </td>
                    <td width="225">解锁机构
                    </td>
                    <td width="225">解锁级别
                    </td>
                    <td width="200">解锁时间
                        <div class="tb-updown"><img src="../assets/img/tb-up.jpg"><br><img src="../assets/img/tb-down.jpg"></div>
                    </td>
                    <td width="200">解锁原因
                    </td>
                </tr>
                <tr>
                    <td><input type="checkbox"></td>
                    <td>B00003</td>
                    <td >南通市通州区友谊印染有限公司</td>
                    <td>高新区</td>
                    <td>南通市高新技术产业开发区统计站</td>
                    <td>街乡</td>
                    <td>2014-01-03 11：18</td>
                    <td>本企业7月关闭</td>

                </tr>
                <tr>
                    <td><input type="checkbox"></td>
                    <td>B00003</td>
                    <td >南通市通州区友谊印染有限公司</td>
                    <td>高新区</td>
                    <td>南通市高新技术产业开发区统计站</td>
                    <td>街乡</td>
                    <td>2014-01-03 11：18</td>
                    <td>本企业7月关闭</td>

                </tr>
                <tr>
                    <td><input type="checkbox"></td>
                    <td>B00003</td>
                    <td >南通市通州区友谊印染有限公司</td>
                    <td>高新区</td>
                    <td>南通市高新技术产业开发区统计站</td>
                    <td>街乡</td>
                    <td>2014-01-03 11：18</td>
                    <td>本企业7月关闭</td>

                </tr>
            </table>

        </div>
        <div class="rf-bottom" style="width: 99%;">
            <span class="rf-bottom-span">共<label>3</label>条记录</span>
        </div>
    </div>
</div>
<!--设计参照单位-->
<div id="jg-szczdw" class="openbg">
    <div class="sjxsl-desk">
        <form>
            <div class="remindtop"><span>企业参照查询</span><img onclick="closeAllDesk('jg-szczdw');"
                                                           src="../assets/img/showclose.jpg">
            </div>
            <div class="add-desk-main" style="border: 0;margin-top: 10px;min-height: 100px;">
                <p style="color: red;font-weight:100;">请输入企业单位代码，每个企业单位代码占一行</p>
                <textarea class="szczdw-textarea"></textarea>
            </div>

            <div class="add-desk-mbtn">
                <button type="button" onclick="closeAllDesk('jg-szczdw');">确定</button>
                <button type="button" onclick="closeAllDesk('jg-szczdw');" style="background-color: #a4aaad;">取消</button>
            </div>
        </form>
    </div>
</div>
<script type="text/javascript">
    var changetext = 0;
    var result=0;
    $(document).ready(function () {

        $(".JS_shgxtab .tj-shgx-tabname").click(function () {
            $(".JS_shgxtab .tj-active").removeClass("tj-active");
            $(this).addClass("tj-active");
            $(".JS_shgxpanel .tj-shgx-panel").addClass("undis");
            $(".JS_shgxpanel .tj-shgx-panel")[$(this).index()].className = "tj-shgx-panel";
        });
        $(".JS_shgxtab2 .tj-shgx-tabname").click(function () {
            $(".JS_shgxtab2 .tj-active").removeClass("tj-active");
            $(this).addClass("tj-active");
            $(".JS_shgxpanel2 .tj-pinner-panel").addClass("undis");
            $(".JS_shgxpanel2 .tj-pinner-panel")[$(this).index()].className = "tj-pinner-panel";
        });
    });
    function showup() {
        document.getElementById("jg-table-up").style.display = "block";
        document.getElementById("jg-table-down").style.display = "none";
        $(".jg-table-trhid").removeClass("undis");
    }
    function showdown() {
        document.getElementById("jg-table-up").style.display = "none";
        document.getElementById("jg-table-down").style.display = "block";
        $(".jg-table-trhid").addClass("undis");
    }
    function searchResult(){

        if(result!=0){//如果不为0就是有数据，为0就是无数据
            $("#jg-sorry").css("display","block");
            $("#jg-result").css("display","none");
        }
        else{
            $("#jg-sorry").css("display","none");
            $("#jg-result").css("display","block");
        }
    }
</script>
</body>
</html>